package org.nch.videoLauncher.domain;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: bill
 * Date: Dec 12, 2008
 * Time: 11:42:43 AM
 * To change this template use File | Settings | File Templates.
 */
public class PlaybackEvent {

    private Integer id;
    private VideoItem videoItem;
    private Date date;
    private Profile profile;

    public PlaybackEvent(){

    }

    public PlaybackEvent(VideoItem vi, Profile profile){
        this.videoItem = vi;
        this.date = new Date();
        this.profile = profile;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public VideoItem getVideoItem() {
        return videoItem;
    }

    public void setVideoItem(VideoItem videoItem) {
        this.videoItem = videoItem;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Profile getProfile() {
            return profile;
        }

    public void setProfile(Profile profile) {
        this.profile = profile;
    }

}
